// 购物车详情
import service from '@/utils/service'
export function shopcarDetail(data) {
  return service({
    url: '/api/business/rmall/mobile/cart/detail',
    method: 'post',
    data,
  })
}
// 调整实体商品
export function reduceProduct(data){
  return service({
    url:'/api/business/rmall/mobile/cart/adjust',
    method:'post',
    data,
  })
}
// 移除实体商品
export function delProduct(data){
  return service({
    url:'/api/business/rmall/pc/cart/remove/goods',
    method:'post',
    data
  })
}
// 购物车提交实体结算订单
export function postBuyOrder(data){
  return service({
    url:'/api/business/rmall/mobile/cart/order/generate',
    method:'post',
    data
  })
}

// 账号地址列表
export function accountaddressList(params) {
  return service({
    url: '/api/system/account/address/list',
    method: 'get',
    params,
  })
}